<?php include "../../coresection/connection.php";?>
<?php include "../../coresection/checkSession.php";?>
<?php include "../../coresection/product-list-function.php";?>

<?php //include_once("function.php"); ?>
<?php include_once("detail-function.php"); ?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <meta name="keywords" content=" "/>
    <meta name="description" content=" "/>
    <meta http-equiv="Window-target" content="_top"/>
    <meta http-equiv="Page-Enter" content="progid:DXImageTransform.Microsoft.Fade(Duration=0.2)">
    <title>邮政点餐系统</title>
    <link href="../../css/style.css" type="text/css" rel="stylesheet" />


</head>

<body>




<div class="header">
    <h1>欢迎使用邮政订餐系统</h1>
    <div class="feedback_box_content">
        <h6>用户 <?echo $user_name?> 的调查表</h6>
        <div>日期：<? echo $datetime?> </div>
</div>
</div>





<div id="container">
<!--Container端點01-->
<div id="maincontent">
<!--maincontent端點01-->

    <div class="admin_left_area">
        <?include '../../model/slidebar.php'?>
    </div>

<div >

<div class="detail-box feedback-detail">

<div class="detail-boxes">







    <ol class="detail-boxing">


        <li class="q1">


            <h6>你经常在我单位饭堂就餐吗？</h6>

            <div class='radio-box'>
                <input name='q1' type='radio'  value='10' id="q1-1" style="width:20px; height:20px" <?if($q1==10){echo
                "checked='checked'";}?> />
                <label for="q1-1"><span>每次都在</span></label>

                <input name='q1' type='radio' value='8'  id="q1-2" style="width:20px; height:20px" <?if ($q1==8){echo
                "checked='checked'";}?>/>
                <label for="q1-2"><span>基本在</span></label>

                <input name='q1' type='radio' value='6'  id="q1-3" style="width:20px; height:20px" <?if ($q1==6){echo
                "checked='checked'";}?> />
                <label for="q1-3"><span>偶尔在</span></label>

                <input name='q1' type='radio' value='0'  id="q1-4" style="width:20px; height:20px" <?if ($q1==0){echo
                "checked='checked'";}?> />
                <label for="q1-4"><span>从不</span></label>
            </div>


        </li>




        <li class="q2">


            <h6>你觉得食堂的饭菜价格怎样？</h6>

            <div class='radio-box'>
                <input name='q2' type='radio' value='10' id="q2-1" style="width:20px; height:20px"  <?if($q2==10){echo
                "checked='checked'";}?> />
                <label for="q2-1" ><span>可以接受</span></label>

                <input name='q2' type='radio' value='8'  id="q2-2" style="width:20px; height:20px" <?if ($q2==8){echo
                "checked='checked'";}?> />
                <label  for="q2-2" ><span>比较便宜</span></label>

                <input name='q2' type='radio' value='6'  id="q2-3" style="width:20px; height:20px" <?if ($q2==6){echo
                "checked='checked'";}?> />
                <label  for="q2-3" ><span>一般</span></label>

                <input name='q2' type='radio' value='0'  id="q2-4" style="width:20px; height:20px" <?if ($q2==0){echo
                "checked='checked'";}?> />
                <label for="q2-4"  ><span>很贵</span></label>
            </div>


        </li>



        <li class="q3">


            <h6>你对食堂的卫生情况是否满意</h6>

            <div class='radio-box'>
                <input name='q3' type='radio' value='10'  id="q3-1" style="width:20px; height:20px" <?if($q3==10){echo
                "checked='checked'";}?> />
                <label for="q3-1" ><span>满意</span></label>

                <input name='q3' type='radio' value='8'   id="q3-2" style="width:20px; height:20px" <?if ($q3==8){echo
                "checked='checked'";}?> />
                <label for="q3-2" ><span>较满意</span></label>

                <input name='q3' type='radio' value='6'   id="q3-3" style="width:20px; height:20px" <?if ($q3==6){echo
                "checked='checked'";}?> />
                <label for="q3-3" ><span>一般</span></label>

                <input name='q3' type='radio' value='0'   id="q3-4" style="width:20px; height:20px" <?if ($q3==0){echo
                "checked='checked'";}?> />
                <label for="q3-4" ><span>不满意</span></label>
            </div>


        </li>





        <li class="q4">


            <h6>你对饭菜的味道是否满意</h6>

            <div class='radio-box'>
                <input name='q4' type='radio' value='10' id="q4-1" style="width:20px; height:20px" <?if($q4==10){echo
                "checked='checked'";}?> />
                <label for="q4-1" ><span>满意</span></label>

                <input name='q4' type='radio' value='8'  id="q4-2" style="width:20px; height:20px" <?if ($q4==8){echo
                "checked='checked'";}?> />
                <label  for="q4-2"><span>较满意</span></label>

                <input name='q4' type='radio' value='6'  id="q4-3" style="width:20px; height:20px" <?if ($q4==6){echo
                "checked='checked'";}?> />
                <label for="q4-3"><span>一般</span></label>

                <input name='q4' type='radio' value='0'  id="q4-4" style="width:20px; height:20px" <?if ($q4==0){echo
                "checked='checked'";}?> />
                <label for="q4-4"><span>不满意</span></label>
            </div>


        </li>





        <li class="q5">


            <h6>你对饭菜的份量是否满意？</h6>

            <div class='radio-box'>
                <input name='q5' type='radio' value='10' id="q5-1" style="width:20px; height:20px" <?if($q5==10){echo
                "checked='checked'";}?> />
                <label  for="q5-1"><span>满意</span></label>

                <input name='q5' type='radio' value='8'  id="q5-2" style="width:20px; height:20px" <?if ($q5==8){echo
                "checked='checked'";}?> />
                <label  for="q5-2"><span>较满意</span></label>

                <input name='q5' type='radio' value='6' id="q5-3" style="width:20px; height:20px" <?if ($q5==6){echo
                "checked='checked'";}?> />
                <label  for="q5-3"><span>一般</span></label>

                <input name='q5' type='radio' value='0'  id="q5-4" style="width:20px; height:20px" <?if ($q5==0){echo
                "checked='checked'";}?> />
                <label  for="q5-4"><span>不满意</span></label>
            </div>


        </li>




        <li class="q6">


            <h6>你对饭菜的种类是否满意？</h6>

            <div class='radio-box'>
                <input name='q6' type='radio' value='10'  id="q6-1" style="width:20px; height:20px" <?if($q6==10){echo
                "checked='checked'";}?> />
                <label  for="q6-1"><span>满意</span></label>

                <input name='q6' type='radio' value='8'  id="q6-2" style="width:20px; height:20px" <?if ($q6==8){echo
                "checked='checked'";}?> />
                <label  for="q6-2"><span>较满意</span></label>

                <input name='q6' type='radio' value='6'   id="q6-3" style="width:20px; height:20px" <?if ($q6==6){echo
                "checked='checked'";}?> />
                <label  for="q6-3"><span>一般</span></label>

                <input name='q6' type='radio' value='0'   id="q6-4" style="width:20px; height:20px" <?if ($q6==0){echo
                "checked='checked'";}?> />
                <label  for="q6-4"><span>不满意</span></label>
            </div>


        </li>





        <li class="q7">


            <h6>你对送餐（打饭）的速度是否满意？</h6>

            <div class='radio-box'>
                <input name='q7' type='radio' value='10' id="q7-1" style="width:20px; height:20px" <?if($q7==10){echo
                "checked='checked'";}?> />
                <label for="q7-1"><span>满意</span></label>

                <input name='q7' type='radio' value='8'  id="q7-2" style="width:20px; height:20px" <?if ($q7==8){echo
                "checked='checked'";}?> />
                <label for="q7-2"><span>较满意</span></label>

                <input name='q7' type='radio' value='6'   id="q7-3" style="width:20px; height:20px" <?if ($q7==6){echo
                "checked='checked'";}?> />
                <label for="q7-3"><span>一般</span></label>

                <input name='q7' type='radio' value='0'  id="q7-4" style="width:20px; height:20px"  <?if ($q7==0){echo
                "checked='checked'";}?> />
                <label for="q7-4"><span>不满意</span></label>
            </div>


        </li>




        <li class="q8">


            <h6>你对汤类的质量是否满意？</h6>

            <div class='radio-box'>
                <input name='q8' type='radio' value='10'  id="q8-1" style="width:20px; height:20px" <?if($q8==10){echo
                "checked='checked'";}?> />
                <label for="q8-1"><span>满意</span></label>

                <input name='q8' type='radio' value='8'  id="q8-2" style="width:20px; height:20px" <?if ($q8==8){echo
                "checked='checked'";}?> />
                <label for="q8-2"><span>较满意</span></label>

                <input name='q8' type='radio' value='6'  id="q8-3" style="width:20px; height:20px" <?if ($q8==6){echo
                "checked='checked'";}?> />
                <label for="q8-3"><span>一般</span></label>

                <input name='q8' type='radio' value='0'  id="q8-4" style="width:20px; height:20px"  <?if ($q8==0){echo
                "checked='checked'";}?> />
                <label for="q8-4"><span>不满意</span></label>
            </div>


        </li>




        <li class="q9">


            <h6>你对服务员的态度是否满意？</h6>

            <div class='radio-box'>
                <input name='q9' type='radio' value='10'  id="q9-1" style="width:20px; height:20px" <?if($q9==10){echo
                "checked='checked'";}?> />
                <label for="q9-1"><span>满意</span></label>

                <input name='q9' type='radio' value='8'  id="q9-2" style="width:20px; height:20px" <?if ($q9==8){echo
                "checked='checked'";}?> />
                <label for="q9-2"><span>较满意</span></label>

                <input name='q9' type='radio' value='6'   id="q9-3" style="width:20px; height:20px" <?if ($q9==6){echo
                "checked='checked'";}?> />
                <label for="q9-3"><span>一般</span></label>

                <input name='q9' type='radio' value='0'   id="q9-4" style="width:20px; height:20px" <?if ($q9==0){echo
                "checked='checked'";}?> />
                <label for="q9-4"><span>不满意</span></label>
            </div>


        </li>




        <li class="q10">


            <h6>你对食堂的总体评价如何？</h6>

            <div class='radio-box'>
                <input name='q10' type='radio' value='10'  id="q10-1" style="width:20px; height:20px" <?if($q10==10)
                {echo
                "checked='checked'";}?> />
                <label   for="q10-1"><span>好</span></label>

                <input name='q10' type='radio' value='8'  id="q10-2" style="width:20px; height:20px" <?if ($q10==8){echo
                "checked='checked'";}?> />
                <label   for="q10-2"><span>较好</span></label>

                <input name='q10' type='radio' value='6'   id="q10-3" style="width:20px; height:20px" <?if ($q10==6)
                {echo
                "checked='checked'";}?> />
                <label   for="q10-3"><span>一般</span></label>

                <input name='q10' type='radio' value='0'  id="q10-4" style="width:20px; height:20px"  <?if ($q10==0)
                {echo
                "checked='checked'";}?> />
                <label   for="q10-4"><span>不好</span></label>
            </div>


        </li>



        <li class="q11">

            <h6>意见和建议？</h6>
            <textarea name='remark' type='text' ><?echo $remark?></textarea>

        </li>






        <li class="q12">
            <h6>本日最满意菜式：</h6>

            <? for($_i=0;$_i<$product_sum;$_i++)
            {
                ?>

                <div class='radio-box'>
                    <input name='best_meal' type='radio' value='<? echo $product_names[$_i];?>'  id="q10-4"
                           style="width:20px; height:20px" <?if($best_meal==$product_names[$_i])
                    {echo
                    "checked='checked'";}?>/>
                    <label   for="best_meal"><span><? echo $product_names[$_i]; ?></span></label>
                </div>
                <?
                ;}
            ?>

            <div class='radio-box'>
                <input name='best_meal' type='radio' value='无'  id="q10-4"
                       style="width:20px; height:20px" <?if($best_meal=="无")
                    {echo
                    "checked='checked'";}?>/>
                <label   for="best_meal"><span>无</span></label>
            </div>

        </li>

        <li class="q13">
            <h6>本日不受欢迎菜式：</h6>
            <? for($_i=0;$_i<$product_sum;$_i++)
            {
                ?>

                <div class='radio-box'>
                    <input name='worst_meal' type='radio' value='<? echo $product_names[$_i];?>'  id="q10-4"
                           style="width:20px; height:20px" <?if($worst_meal==$product_names[$_i])
                    {echo
                    "checked='checked'";}?>/>
                    <label   for="worst_meal"><span><? echo $product_names[$_i];?></span></label>
                </div>
                <?
                ;}
            ?>

            <div class='radio-box'>
                <input name='worst_meal' type='radio' value='无'  id="q10-4"
                       style="width:20px; height:20px" <?if($worst_meal=="无")
                {echo
                "checked='checked'";}?>/>
                <label   for="worst_meal"><span>无</span></label>
            </div>

        </li>



    </ol>


</div>
</div>

<!--content端點01-->
</div>
<!--maincontent端點01-->
<br class="clearfloat"/>
</div>
<!--container端點01-->
</div>


<?php include '../../modules/footer.php'; ?>
</body>
</html>